<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8" />
		<title>v-on:keydown</title>
		<script type=text/javascript src="../vue.js"></script>
	</head>

	<body>
		<div id="app">
			<site-name title="Google"></site-name>
			<site-name1 title1="Runoob"></site-name1>
			<site-name1 title1="Taobao"></site-name1>
		</div>
	</body>
	<script>
		//view model
		const app = Vue.createApp({})
		 
		app.component('site-name', {
		  props: ['title'],
		  template: `<h4>{{ title }}</h4>`
		})
		app.component('site-name1', {
		  props: ['title1'],
		  template: `<h4>{{ title1 }}</h4>`
		})
		 
		const vm = app.mount('#app')
		console.log("vm1",vm)
	</script>
	
	

</html>